import $http from '../request';
const URL_PREFIX = "/feature/publish"


export const $FeaturePublishApi = {

  addCategory: (data) => {
    return $http.$post(URL_PREFIX + "/addCategory", data, {})
  },

  listCategoryTree: (data) => {
    return $http.$post(URL_PREFIX + "/listCategoryTree", data, {})
  },

  removeCategory: (parmas) => {
    return $http.$get(URL_PREFIX + "/removeCategory", parmas, {})
  },

  saveFeaturePublish: (params) => {
    return $http.$post(URL_PREFIX + "/saveFeaturePublishInfo", params, {})
  },

  listFeaturePublishInfo: (params) => {
    return $http.$post(URL_PREFIX + "/listFeaturePublishInfo", params, {})
  },

  doPublish: (params) => {
    return $http.$post(URL_PREFIX + "/doPublish", params, {});
  },

  getFeaturePublishDetail: (params) => {
    return $http.$get(URL_PREFIX + "/getFeaturePublishDetail", params, {})
  },

  removePublish: (params) => {
    return $http.$post(URL_PREFIX + "/removePublishRecord", params, {})
  },

  saveMenuConfig: (params) => {
    return $http.$post(URL_PREFIX + "/saveMenuConfig", params, {})
  },

  


}